package cn.jilian.meta.handler.constants;

import java.sql.Types;
import java.util.HashMap;
import java.util.Map;

public class HandlerConstants {

	public static final Map<Integer,String> typeMap=new HashMap<>();
	static {
		typeMap.put(Types.CHAR, "string");
		typeMap.put(Types.BOOLEAN, "boolean");
		typeMap.put(Types.INTEGER, "int");
		typeMap.put(Types.BIGINT, "number");
		typeMap.put(Types.FLOAT, "float");
		typeMap.put(Types.DOUBLE, "float");
		typeMap.put(Types.DATE, "date");
		typeMap.put(Types.TIMESTAMP, "date");
	}
}
